﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.ywxt.TenderBond
{
    /// <summary>
    /// 保证金子账户信息
    /// </summary>
    public class BZJ_Sub_Account : Entity
    {
        /// <summary>
        /// 项目ID
        /// </summary>
        public virtual t_project Project { get; set; }

        /// <summary>
        /// 虚拟子账号对应项目的标段号
        /// </summary>
        public virtual string BiaoDuanHao { get; set; }

        /// <summary>
        /// 虚拟子账号
        /// </summary>
        public virtual string IAcctNo { get; set; }

        /// <summary>
        /// 虚拟子账号授权码
        /// </summary>
        public virtual string AuthCode { get; set; }

        /// <summary>
        /// 开标时间
        /// </summary>
        public virtual DateTime OpenDateTime { get; set; }

        /// <summary>
        /// 保证金截止时间
        /// </summary>
        public virtual DateTime BZJEndDateTime { get; set; }

        /// <summary>
        /// 是否提前查看保证金缴纳家数
        /// </summary>
        public virtual int BZJAheadView { get; set; }

        /// <summary>
        /// 交易时间
        /// </summary>
        public virtual DateTime TransDateTime { get; set; }

        /// <summary>
        /// 交易操作员
        /// </summary>
        public virtual t_sys_user OpUser { get; set; }

        /// <summary>
        /// 交易结果信息
        /// </summary>
        public virtual string TransRltMsg { get; set; }

        /// <summary>
        /// 子账户的保证金收退记录信息
        /// </summary>
        public virtual IList<BZJ_Tender_Bond_Record> TenderBondRecords { get; set; }

        /// <summary>
        /// 项目结束标志：子账户创建时，项目结束标志设置为0；
        /// </summary>
        public virtual int ProjectIsEnd { get; set; }

        /// <summary>
        /// 项目结束时间
        /// </summary>
        public virtual DateTime EndDate { get; set; }

        /// <summary>
        /// 项目结束描述
        /// </summary>
        public virtual string EndDescribe { get; set; }

        /// <summary>
        /// 结束操作员
        /// </summary>
        public virtual t_sys_user EndUser { get; set; }

        public BZJ_Sub_Account()
        {
            TenderBondRecords = new List<BZJ_Tender_Bond_Record>();
        }
    }
}

